package com.aaa.controller.wg;

import com.aaa.entity.activity_order.wg.Advertise;
import com.aaa.service.wg.AdvertiseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * fileName:AdvertiseController
 * description:
 * author:WG
 * createTime:2020/1/13 10:33
 * version:1.0.0
 */
@RestController
@RequestMapping("advertise")
public class AdvertiseController {

    @Autowired
    private AdvertiseService advertiseService;

    @RequestMapping("List")
    public Advertise list(){
        return advertiseService.getList();
    }


}
